-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Improve workload search help text to clarify version searching capability #50982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve workload search help text to clarify version searching capability #50982
Conversation
…ities Co-authored-by: marcpopMSFT <[email protected]>
db308c0 to
8b63493
Compare
|
Text is updated for the help description. It still lists <SEARCH_STRING> in the help but I think that's a S.CL issue and probably ok. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Updates the workload search command description to clarify that users can search for both workloads and workload versions, improving discoverability of the dotnet workload search version functionality.
Key changes:
- Enhanced help text from "Search for available workloads." to "Search for available workloads or workload versions."
- Updated all localization files with proper review states to maintain translation consistency
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/Cli/dotnet/Commands/CliCommandStrings.resx | Updated main resource string for workload search command description |
| src/Cli/dotnet/Commands/xlf/CliCommandStrings.*.xlf | Updated localization files with new source text and needs-review-translation state |
|
@copilot can you fix the test: |
|
@copilot another test failure: |
Co-authored-by: marcpopMSFT <[email protected]>
... This was already fixed in commit 5174432. Both the pwsh and zsh snapshot files were updated with the new help text "Search for available workloads or workload versions." The tests pass locally. The error you're seeing may be from a CI run before the fix was pushed. |
Plan to improve workload help for workload set searching
Issue: The top-level
dotnet workload -hhelp output doesn't make it clear that thesearchcommand can also search for workload versions/sets using theversionsubcommand.Completed work:
dotnet workload search versionfunctionality exists but is not mentioned in the top-level help/src/Cli/dotnet/Commands/CliCommandStrings.resxline 2531Changes made:
WorkloadSearchCommandDescriptionfrom "Search for available workloads." to "Search for available workloads or workload versions."needs-review-translationstate as expectedtest/dotnet.Tests/CompletionTests/snapshots/zsh/DotnetCliSnapshotTests.VerifyCompletions.verified.zshtest/dotnet.Tests/CompletionTests/snapshots/pwsh/DotnetCliSnapshotTests.VerifyCompletions.verified.ps1Verification:
dotnet workload -hnow shows: "search <SEARCH_STRING> Search for available workloads or workload versions."dotnet workload search -hshows the updated descriptiondotnet workload search version -hstill works correctlyFixes #50981
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.